export interface INetErrorObj {
    errcode?: number;
    errmsg?: string;
}

export interface IS2CMessageObj {
    rid?: number;
    cmd?: string;
    err?: INetErrorObj
    data?: any;
}

export interface IC2SMessageObj {
    //command
    cmd: string;
    //request id
    rid: number;
    //body of message
    data?: any;
}